// 班级类型定义
export interface Class {
  classId: string;        // 班级编号
  className: string;      // 班级名称
  grade: string;          // 年级
  headTeacherId: string;  // 班主任ID
  headTeacherName: string; // 班主任姓名
  studentCount: number;   // 学生数量
  subjects: string[];     // 开设科目
  status: string;         // 状态
  createdAt: string;      // 创建时间
  updatedAt: string;      // 更新时间
}

// 年级选项 - 从shared/models.ts导入，保持一致性
export { gradeOptions } from '../../shared/models';

// 科目选项
export const subjectOptions = [
  { label: '语文', value: 'chinese' },
  { label: '数学', value: 'math' },
  { label: '英语', value: 'english' },
  { label: '物理', value: 'physics' },
  { label: '化学', value: 'chemistry' },
  { label: '生物', value: 'biology' },
  { label: '历史', value: 'history' },
  { label: '地理', value: 'geography' },
  { label: '政治', value: 'politics' },
  { label: '音乐', value: 'music' },
  { label: '美术', value: 'art' },
  { label: '体育', value: 'pe' },
  { label: '信息技术', value: 'it' }
];

// 状态选项
export const statusOptions = [
  { label: '正常', value: 'active' },
  { label: '已毕业', value: 'graduated' },
  { label: '已解散', value: 'disbanded' },
  { label: '筹备中', value: 'preparing' }
];

// 初始班级数据
export const initialClasses: Class[] = [
  {
    classId: 'G101',
    className: '高一(1)班',
    grade: 'senior1',
    headTeacherId: 'T001',
    headTeacherName: '张三',
    studentCount: 45,
    subjects: ['chinese', 'math', 'english', 'physics', 'chemistry', 'biology', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2023-09-01',
    updatedAt: '2023-09-01'
  },
  {
    classId: 'G102',
    className: '高一(2)班',
    grade: 'senior1',
    headTeacherId: 'T002',
    headTeacherName: '李四',
    studentCount: 42,
    subjects: ['chinese', 'math', 'english', 'physics', 'chemistry', 'biology', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2023-09-01',
    updatedAt: '2023-09-01'
  },
  {
    classId: 'G201',
    className: '高二(1)班',
    grade: 'senior2',
    headTeacherId: 'T003',
    headTeacherName: '王五',
    studentCount: 40,
    subjects: ['chinese', 'math', 'english', 'physics', 'chemistry', 'biology', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2022-09-01',
    updatedAt: '2023-09-01'
  },
  {
    classId: 'G202',
    className: '高二(2)班',
    grade: 'senior2',
    headTeacherId: 'T004',
    headTeacherName: '赵六',
    studentCount: 43,
    subjects: ['chinese', 'math', 'english', 'physics', 'chemistry', 'biology', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2022-09-01',
    updatedAt: '2023-09-01'
  },
  {
    classId: 'G301',
    className: '高三(1)班',
    grade: 'senior3',
    headTeacherId: 'T005',
    headTeacherName: '钱七',
    studentCount: 38,
    subjects: ['chinese', 'math', 'english', 'physics', 'chemistry', 'biology', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2021-09-01',
    updatedAt: '2023-09-01'
  },
  {
    classId: 'G302',
    className: '高三(2)班',
    grade: 'senior3',
    headTeacherId: 'T006',
    headTeacherName: '孙八',
    studentCount: 41,
    subjects: ['chinese', 'math', 'english', 'physics', 'chemistry', 'biology', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2021-09-01',
    updatedAt: '2023-09-01'
  },
  {
    classId: 'G0901',
    className: '初三(1)班',
    grade: 'junior3',
    headTeacherId: 'T007',
    headTeacherName: '周九',
    studentCount: 44,
    subjects: ['chinese', 'math', 'english', 'physics', 'chemistry', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2021-09-01',
    updatedAt: '2023-09-01'
  },
  {
    classId: 'G0801',
    className: '初二(1)班',
    grade: 'junior2',
    headTeacherId: 'T008',
    headTeacherName: '吴十',
    studentCount: 46,
    subjects: ['chinese', 'math', 'english', 'physics', 'history', 'geography', 'politics'],
    status: 'active',
    createdAt: '2022-09-01',
    updatedAt: '2023-09-01'
  }
];